<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>studysage :: Technology</title>
<link rel="stylesheet" href="css/innerpage.css" type="text/css" />
</head>
<body>
<!-- Begin Cover -->
<div id="cover" >
<!-- Begin Wrapper -->
<div id="wrapper">
 <div style="clear:both;"></div>
  <!-- Begin mainWarpArea -->
  <div class="mainWarpArea">
    <!-- Begin latestnewsBox -->
    
    <!-- End latestnewsBox -->
    <!-- Begin BannerArea -->
    
    <!-- End BannerArea -->
    <!-- Begin contentwarp -->
    <div class="contentwarp">
      <!-- Begin contentwarpMiddle -->
      <div class="contentwarpMiddle">
        <table border="0" cellspacing="2" cellpadding="2" width="730" class="TechnologyTbl">
          <tr>
            <td><table border="0" cellspacing="0" cellpadding="0" width="100%">
                <tr>
                  <td align="left" style="padding:10 0 10 40"><table border="0" cellspacing="0" cellpadding="0" width="100%">
                <tr>
                  <td align="left" style="padding:10 0 10 40">
                   <h1>What are you shopping for?</h1>
                  </td>
                  </tr>
                  <tr>
                  <td>Technology gadget &nbsp;
                  <select name="search"> 
                  <option><?php $base_obj->listGadget()?></option> 
                 					  
                  </select>
                 
                  
                  Make
                  
                  <select name="search">
                  <option><?php $base_obj->listMake()?></option> 
                  </select>
                  </td>
                  </tr>
                  <td rowspan="2" align="right" valign="top"></td>
                </tr>
                <tr>
                  <td></td>
                </tr>
              </table></td>
                  <td rowspan="2" align="right" valign="top"></td>
                </tr>
                <tr>
                  <td></td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td></td>
          </tr>
          <tr>
            <td style="padding-bottom:40"><script src="s_js/table.js"></script>
              <table cellspacing="0" cellpading="0" border="0" width="100%">
                <tr valign="top">
                  <td valign="top"><table cellspacing="0" cellpadding="0" brder="0" width="100%">
                      <tr valign="top">
                        <td><table border="0" cellpadding="5" cellspacing="0" width="100%">
                            <tr>
                              
                              <td valign="top"><table cellspacing="0" cellpadding="0" border="0">
                                  <tr>
                                      <td style="padding-bottom:6;padding-left:5;" colspan="2" class="viewTechnology">
                                     
                                     
                                    <?php 
										$qry = "select * from ".$base_obj->GEDGET_TECH." WHERE 
										id='".$_GET['product_id']."' and active_status = '1' order by make asc  LIMIT 0,5"; 
										$res = $base_obj->exec_query($qry);
										$data = $base_obj->fetch_row_all($res);				
										$count = count($data);
										for($i=0;$i<$count;$i++) 
										{
										     echo '<table border="0" style="min-height:300px;">
											 <tr><td>'
											 .$data[$i]['make'].'
											 </td></tr>
											 <tr><td><img src="uploads/gadget_images/'.$data[$i]['image'].'" width=120px/></td>
											 <td valign="top">'.$data[$i]['specifications'].'
											 <br>price:
											 '.$data[$i]['price'].'
											  <br>Quality:
											 '.$data[$i]['sale_flag'].'
											 <a href="https://www.sandbox.paypal.com/cgi-bin/webscr" target="_blank"><img src="images/button_buy_now.gif" style="float:right"/></a>
											 </td></tr>
										
											 
											 </table>';
											 
										}
										?>
                                    </td>
                                  </tr>
                                
                                  
                                </table></td>
                            </tr>
                            
                            </table></td>
                      </tr>
                    </table></td>
                </tr>
              </table>
              
              </td>
          </tr>
          <tr>
            <td background="s_images/20/mdh2.gif"><img src="s_images/spacer.gif" height="2" width="2"></td>
          </tr>
          
        </table>
      </div>
      <!-- End contentwarpMiddle -->
     <div class="contentwarpRight">
      <?php include("includes/right_content.php");?>
      </div>
      
      
      
      <!-- End contentwarp -->
      <div style="clear:both;"></div>
    </div>
    <!-- End mainWarpArea -->
    <div style="clear:both;"></div>
  </div>
  <!-- End Wrapper -->
</div>
</div>
<!-- End Cover -->
</body>
</html>